package com.hkzhao.shixun.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class Prize implements Serializable {
    @ApiModelProperty(value = "没啥用")
    private String prizeid;

    @ApiModelProperty(value = "活动的uuid")
    private String activityid;

    @ApiModelProperty(value = "活动的不同等级的奖品名称")
    private String level;

    @ApiModelProperty(value = "概率")
    private Double odd;

    @ApiModelProperty(value = "奖品描述")
    private String description;

    @ApiModelProperty(value = "奖品数量")
    private Integer nums;

    @ApiModelProperty(value = "已经被抽掉的数量")
    private Integer haslotterynum;

    @ApiModelProperty(value = "奖品图片的url")
    private String url;

    private static final long serialVersionUID = 1L;

    public String getPrizeid() {
        return prizeid;
    }

    public void setPrizeid(String prizeid) {
        this.prizeid = prizeid;
    }

    public String getActivityid() {
        return activityid;
    }

    public void setActivityid(String activityid) {
        this.activityid = activityid;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Double getOdd() {
        return odd;
    }

    public void setOdd(Double odd) {
        this.odd = odd;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getNums() {
        return nums;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public Integer getHaslotterynum() {
        return haslotterynum;
    }

    public void setHaslotterynum(Integer haslotterynum) {
        this.haslotterynum = haslotterynum;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", prizeid=").append(prizeid);
        sb.append(", activityid=").append(activityid);
        sb.append(", level=").append(level);
        sb.append(", odd=").append(odd);
        sb.append(", description=").append(description);
        sb.append(", nums=").append(nums);
        sb.append(", haslotterynum=").append(haslotterynum);
        sb.append(", url=").append(url);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}